A proper ideal A of a commutative ring R is a maximal ideal of R if, whenever B is an ideal of R and A is a subset of B and B is a subset of R , then B = A or B = R. That is, a proper ideal is maximal if it is not a subset of any other proper ideal.